<?php
use yii\helpers\Html;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use yii\widgets\LinkPager;
use frontend\controllers\ListController;
use common\models\articles\Articles;
use common\models\member\Member;
use common\models\category\Category;
use common\models\Fenhuigrade\Fenhuigrade;
?>
    <!--content-->
    <div class="content">
        <div class="w1113 bgd-ff mt10 mb10">
            <span class="abwz">
                您所在的位置：<a href="<?= yii\helpers\Url::to(['/']);?>">首页</a> >
                <a href="<?= yii\helpers\Url::to([$terminfo['type'], 'id' => $terminfo['id']]); ?>"><?= $terminfo['name']; ?></a>
            </span>
        </div>
        <div class="w1113 bgd-ff">
            <div class="clearFloat pl20 pr20 pt15 pb50">
                <div class="ableft floatLeft">
                    <div class="ablewidt">
                        <h3 class="anh3"><?= $terminfo['name']; ?></h3>
                        <div class="jquery-accordion-menu">
                            <ul  class="acb">
                                <li class="active"><a href="<?= yii\helpers\Url::to([$terminfo['type'], 'id' => $terminfo['id']]); ?>"><?= $terminfo['name']; ?></a></li>
                            </ul>
                        </div>
                    </div>
                    <script type="text/javascript">
                        jQuery(document).ready(function () {
                            jQuery(".jquery-accordion-menu").jqueryAccordionMenu();

                        });

                        $(function(){
                            //顶部导航切换
                            $(".acb li").click(function(){
                                $(".acb li.active").removeClass("active")
                                $(this).addClass("active");
                            })
                        })
                    </script>
                </div>
                <style>
                    .xhp embed, .xhp iframe{
                        width: 777px;
                        height: 590px;
                    }
                </style>
                <div class="abright floatRight">
                    <div class="abrwidth">
                        <div class="clearFloat abrwidt">
                            <h3 class="xhjsh3">
                                <?=$article['title'];?>
                                <span class="xhjstime"><?= date('Y-m-d H:i:s',$article['updated_at']);?></span>
                            </h3>
                            <div class="clearFloat xhp">
                                <p>
                                    <?= $article['content'];?>
                                </p>
                                <p style="text-indent:2em">
                                    <?= $article['intro']; ?>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--content end-->